﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using System.Configuration;

namespace NMoq.Core.UnitTest
{
    public class MethodInfoData : NamedConfigurationElement
    {
        private const string MethodNameProperty = "MethodName";
        private const string ClassTypeProperty = "ClassType";

        [ConfigurationProperty(MethodNameProperty,IsRequired =true )]
        public string MethodName
        {
            get
            {
                return (string)this[MethodNameProperty];
            }
            set
            {
                this[MethodNameProperty] = value;
            }
        }

        [ConfigurationProperty (ClassTypeProperty ,IsRequired =true )]
        public string ClassType
        {
            get
            {
                return (string)this[ClassTypeProperty ];
            }
            set
            {
                this[ClassTypeProperty] = value;
            }
        }
    }
}
